<div
  bsModal
  #actionModal="bs-modal"
  class="modal fade"
  tabindex="-1"
  role="dialog"
  aria-labelledby="actionModal"
  aria-hidden="true"
  [config]="{ backdrop: 'static' }"
>
  <div class="modal-dialog">
    <div class="modal-content">
      <form *ngIf="active" #editForm="ngForm" novalidate (ngSubmit)="save()">
        <div class="modal-header">
          <h4 class="modal-title">
            <span>录入备注信息</span>
          </h4>
          <button
            type="button"
            class="close"
            (click)="close()"
            aria-label="Close"
          >
            <span aria-hidden="true">&times;</span>
          </button>
        </div>

        <div class="modal-body">
          <div
            class="form-group form-md-line-input form-md-floating-label no-hint"
          >
            <label
              >备注
              <span class="text-danger">*</span>
            </label>
            <textarea
              id="workShopRemark"
              class="form-control"
              name="workShopRemark"
              rows="3"
              [(ngModel)]="workShopRemark"
            ></textarea>
          </div>
        </div>

        <div class="modal-footer">
          <button
            [disabled]="saving"
            type="button"
            class="btn btn-default"
            (click)="close()"
          >
            {{ l("Cancel") }}
          </button>
          <button
            type="submit"
            class="btn btn-primary blue"
            [buttonBusy]="saving"
            [busyText]="'录入中...'"
          >
            <i class="fa fa-check-circle"></i>
            <span>录入</span>
          </button>
        </div>
      </form>
    </div>
  </div>
</div>
